package com.kc.data.common.domain.vo;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.Size;

/**
 * @ClassName YsUserRetrievePassVO
 * @Description TODO
 * @Author wangdongliang
 * @Date 2021/4/28 13:30
 */
@Data
public class YsUserRetrievePassVO {
    @NotEmpty(message = "手机号码不能为空")
    private String mobile;
    @NotEmpty(message = "验证码不能为空")
    private String code;
    @NotEmpty(message = "新密码不能为空")
    @Size(min = 8,max = 16,message = "密码长度不合法")
    private String newPass;
    /*确认密码*/
    @NotEmpty(message = "确认密码不能为空")
    @Size(min = 8,max = 16,message = "确认长度不合法")
    private String confirmPass;
}
